/* 
 * oms，一个基于J2EE架构运营支撑平台
 * Copyright © GrayRabbit Co., Ltd. All rights reserved.
 * Department:运营department
 * 更多信息请访问：
 * http://code.google.com/p/gray-rabbit-cms/
 */
package org.grayrabbit.cms.service.system;

import java.util.List;

import org.grayrabbit.cms.entity.PluginVersion;
import org.grayrabbit.cms.vo.system.PluginVersionBean;

import org.grayrabbit.dao.util.Page;
import org.grayrabbit.service.GenericService;

/**
 * <b>OperLog</b>的service接口

 * @version 1.0,创建时间: 2012-01-06 13:30:59 
 */
public interface PluginVersionService extends GenericService {
	/**
	 * 根据主键查询实体
	 * @param versionId
	 * @return
	 */
	PluginVersion getPluginVersion(String versionId);
	/**
	 * 批量删除
	 * @param key
	 */
	void delete(String[] key);
	/**
	 * 删除实体
	 * @param pluginVersion
	 */
	void delete(PluginVersion pluginVersion);
	/**
	 * 保存实体
	 * @param pluginVersion
	 */
	void save(PluginVersion pluginVersion);
	/**
	 * 根据bean组装统计查询条件(名称参数)
	 * @param pluginVersion
	 * @return
	 */
	Page<PluginVersion> getPage(PluginVersionBean pluginVersionBean);
	/**
	 * 填充分页组件的查询：(名称参数)
	 * @param page
	 * @param pluginVersionBean
	 */
	void list(Page<PluginVersion> page, PluginVersionBean pluginVersionBean);
	
	List<PluginVersion> getAll();
	
}